<template>
  <div>
    <div class="navigate-wrp">
      <div class="icon-wrp">
        <span>邀请好友</span>
      </div>
    </div>

    <div class="content-body">
      <div class="title">已获得奖励佣金</div>
      <div class="num">0</div>
      <div class="invitation">邀请好友获得奖励</div>
      <div class="invitation-text">
        每邀请一名朋友并成为我们的会员，您将获得邀请佣金奖励(佣金比例20%)，若朋友需要您的"邀请码”，那么在邀请链接最后code=之后的内容即为您的邀请码!
      </div>
      <div class="link">https://moetor.one/#/register?code=w.</div>
      <div class="button" @click="closeVisible">
        <span>复制链接</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "AwardPage",
  data: () => ({}),
  methods: {},
};
</script>

<style scoped>
/* navigate */
.navigate-wrp {
  box-sizing: border-box;
}
.navigate-wrp .icon-wrp {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 15px;
  line-height: 40px;
  font-size: 22px;
  font-weight: 500;
  box-sizing: border-box;
}
.content-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px auto 0;
  padding: 50px 20px 20px;
  width: calc(100vw - 40px);
  box-shadow: 2px 2px 6px #c0c0c0;
  border-radius: 16px;
}
.content-body .title {
  font-size: 12px;
  color: #b7b7b7;
  font-weight: bold;
}
.content-body .num {
  font-size: 50px;
  font-weight: bold;
}
.content-body .invitation {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
.content-body .invitation-text {
  font-size: 12px;
  color: #7a7a7a;
}
.content-body .link {
  font-size: 12px;
  color: #fff;
  background-color: #d8d8d8;
  font-size: 13px;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 10px 0;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  white-space: nowrap;
}
.button {
  width: 150px;
  height: 40px;
  line-height: 40px;
  background: #000;
  color: #ffffff;
  font-size: 13px;
  border-radius: 50px;
  text-align: center;
}
.button:active{
  box-shadow: 2px 2px 6px #c0c0c0;
}
</style>
